package com.scau.meetingbook.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.scau.meetingbook.pojo.Employees;
import com.baomidou.mybatisplus.extension.service.IService;
import com.scau.meetingbook.vo.ResultVO;
import java.util.List;

public interface EmployeesService extends IService<Employees> {
    ResultVO insertEmployees(Employees employees) throws Exception;
    ResultVO<Employees> getEmployeesById(Integer id) throws Exception;
    ResultVO updateEmployeesById(Employees employees) throws Exception;
    ResultVO deleteEmployeesById(Integer id) throws Exception;
    ResultVO login(Employees employees) throws Exception;
    ResultVO register(Employees employees) throws Exception;
    ResultVO changeEmployeeStatus(Integer id,String status) throws Exception;
    ResultVO<Page<Employees>> getAllEmployees(Integer pageNum, Integer pageSize);

}